﻿using System;
using System.Runtime.Serialization;

namespace MediaBrowserSL.DAL.Contexts
{
    [Serializable]
    public class PersistenceException : System.Exception
    {
        public PersistenceException()
            : base()
        {
            // 
        }

        public PersistenceException(string msg)
            : base(msg)
        {
            //
        }

        public PersistenceException(string msg, System.Exception innerEx) :
            base(msg, innerEx)
        {
            // 
        }

        protected PersistenceException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
            // Implement type-specific serialization constructor logic.
        }
    }
}
